package com.getpebble.android.jskit.bridge;

import com.getpebble.android.framework.appmessage.AppMessage;

public class AppMessageReceivedEvent {
    protected AppMessage mMessage;

    public AppMessageReceivedEvent(AppMessage message) {
        this.mMessage = message;
    }

    public AppMessage getMessage() {
        return this.mMessage;
    }

    public static AppMessageReceivedEvent copyOf(AppMessageReceivedEvent other) {
        return new AppMessageReceivedEvent(new AppMessage(other.getMessage()));
    }
}
